import grequests
import re

headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0"
}

for i in range(0, 226, 25):
    lists = grequests.get(f"https://movie.douban.com/top250?start={i}&filter=", headers=headers),
    re_m = grequests.map(lists)
    result = re_m[0].text
    every = re.findall("<img width=\"100\" alt=\"(.*?)\" src=", result, re.S)
    for rest in every:
        print(rest)